package test;

public abstract class Component implements Parser {
	private Parser parser;
	
	public Component(Parser parser) {
		this.parser = parser;
	}

	public void parser() {
		if(parser != null)
			parser.parser();
	}
}
